<div class="list_header" style="float: left;">
	<div class="working" style="width: 95%; border: 1px solid grey; margin-left: 20px; float: left;" >
		<div style="width: 99%" class="title">Working on tasks</div>
		<div id="container" class="clearfix" style="border: 1px solid grey; background: white; float: left;">
			<?php foreach ($workingTasks as $task):?>
			<div class="inner">
				<div style="padding-left: 2px;margin: 0px; font-weight: bold; -moz-border-radius:8px 8px 0px 0px;" class="Working"><?php echo $task['Task']['taskName'];?></div>
				<p style="padding-left: 2px;margin: 0px;"><span>Responsible:</span> <?php echo $task['ResUser']['firstName'];?> <?php echo $task['ResUser']['lastName'];?></p>
				<p style="padding-left: 2px;margin: 0px;"><span>Relative Points:</span> <?php echo $task['Task']['relativePoint'];?></p>
				<p style="padding-left: 2px;margin: 0px;"><span>Estimated Hours:</span> <?php echo $task['Task']['estimatedHour'];?>
					<span style="float:right; padding-right:5px;"><?php echo $this->Html->link($html->image('icon/edit.png',array('style'=>'border:none;')), array('controller' => 'tasks', 'action' => 'edit', $task['Task']['id']),array('escape' => false)); ?></span>
				</p>
			</div>
			<?php endforeach; ?>
		</div>
	</div>
	<div class="Verified" style="width: 95%; border: 1px solid grey; margin: 20px 0px 0px 20px; float: left;">
		<div style="width: 99%" class="title Verified">Verifing tasks</div>
		<div id="container" class="clearfix" style="border: 1px solid grey; background: white; float: left;">
			<?php foreach ($verifingTasks as $task):?>
			<div class="inner">
				<div style="padding-left: 2px;margin: 0px; font-weight: bold; -moz-border-radius:8px 8px 0px 0px;" class="Verified"><?php echo $task['Task']['taskName'];?></div>
				<p style="padding-left: 2px;margin: 0px;"><span>Responsible:</span> <?php echo $task['ResUser']['firstName'];?> <?php echo $task['ResUser']['lastName'];?></p>
				<p style="padding-left: 2px;margin: 0px;"><span>Relative Points:</span> <?php echo $task['Task']['relativePoint'];?></p>
				<p style="padding-left: 2px;margin: 0px;"><span>Estimated Hours:</span> <?php echo $task['Task']['estimatedHour'];?>
					<span style="float:right; padding-right:5px;"><?php echo $this->Html->link($html->image('icon/edit.png',array('style'=>'border:none;')), array('controller' => 'tasks', 'action' => 'edit', $task['Task']['id']),array('escape' => false)); ?></span>
				</p>
			</div>
			<?php endforeach; ?>
		</div>
	</div>
	<div class="DONE" style="width: 95%; border: 1px solid grey; margin: 20px 0px 0px 20px; float: left;">
		<div style="width: 99%" class="title DONE">DONE tasks</div>
		<div id="container" class="clearfix" style="border: 1px solid grey; background: white; float: left;">
			<?php foreach ($doneTasks as $task):?>
			<div class="inner">
				<div style="padding-left: 2px; margin: 0px; font-weight: bold; -moz-border-radius:8px 8px 0px 0px;" class="DONE"><?php echo $task['Task']['taskName'];?></div>
				<p style="padding-left: 2px; margin: 0px;"><span>Responsible:</span> <?php echo $task['ResUser']['firstName'];?> <?php echo $task['ResUser']['lastName'];?></p>
				<p style="padding-left: 2px; margin: 0px;"><span>Relative Points:</span> <?php echo $task['Task']['relativePoint'];?></p>
				<p style="padding-left: 2px;margin: 0px;"><span>Estimated Hours:</span> <?php echo $task['Task']['estimatedHour'];?>
					<span style="float:right; padding-right:5px;"><?php echo $this->Html->link($html->image('icon/edit.png',array('style'=>'border:none;')), array('controller' => 'tasks', 'action' => 'edit', $task['Task']['id']),array('escape' => false)); ?></span>
				</p>
			</div>
			<?php endforeach; ?>
		</div>
	</div>
	<div class="new" style="width: 95%; border: 1px solid grey; margin: 20px 0px 20px 20px; float: left;">
		<div style="width: 99%" class="title new">Planed tasks</div>
		<div id="container" class="clearfix" style="border: 1px solid grey; background: white; float: left;">
			<?php foreach ($plannedTasks as $task):?>
			<div class="inner">
				<div style="padding-left: 2px;margin: 0px; font-weight: bold; -moz-border-radius:8px 8px 0px 0px; background: #eee;"><?php echo $task['Task']['taskName'];?></div>
				<p style="padding-left: 2px;margin: 0px;"><span>Responsible:</span> <?php echo $task['ResUser']['firstName'];?> <?php echo $task['ResUser']['lastName'];?></p>
				<p style="padding-left: 2px;margin: 0px;"><span>Relative Points:</span> <?php echo $task['Task']['relativePoint'];?></p>
				<p style="padding-left: 2px;margin: 0px;"><span>Estimated Hours:</span> <?php echo $task['Task']['estimatedHour'];?>
					<span style="float:right; padding-right:5px;"><?php echo $this->Html->link($html->image('icon/edit.png',array('style'=>'border:none;')), array('controller' => 'tasks', 'action' => 'edit', $task['Task']['id']),array('escape' => false)); ?></span>
				</p>
			</div>
			<?php endforeach; ?>
		</div>
	</div>
</div>